home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 16912 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  875 b 

  1. Path: hickory.soton.ac.uk!newsmaster
  2. From: jcridge <jcridge@mail.soton.ac.uk>
  3. Newsgroups: comp.lang.c++
  4. Subject: Reading ENUMS  from FILES
  5. Date: Fri, 12 Apr 1996 17:36:37 -0700
  6. Organization: maths faculty, OR group
  7. Message-ID: <316EF715.37D8@mail.soton.ac.uk>
  8. NNTP-Posting-Host: jcridge.maths.soton.ac.uk
  9. Mime-Version: 1.0
  10. Content-Type: text/plain; charset=us-ascii
  11. Content-Transfer-Encoding: 7bit
  12. X-Mailer: Mozilla 2.0 (Win16; I)
  13.  
  14. I've not been able to find a way of forcing C++ to read in my own
  15. enumurated value types from files. I had thought that the SCANF 
  16. function would be able to cope, but it seems not.  Could anyone help me 
  17. out here ?
  18.  
  19. Also, I'm used to PASCAL which made alot of things like this rather 
  20. easy, including reading whole user defined RECORD structures
  21. with mixed types, is this possible in C++ ?
  22.  
  23. I have to use Borland V4.5
  24.  
  25. Many thanks
  26.  
  27. John Ridge
  28.